.user-import {
  display: flex;
  flex-direction: column;
  flex: 1;

  .btns_btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;

    .dialog-btn {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 5px;

      :deep(.el-select__wrapper) {
        height: 30px;
      }

      .confirm_upload_btn {
        background-color: $primaryColor;
        border-color: $primaryColor;
        color: #fff;

        &:hover {
          background-color: rgba($primaryColor, 0.8);
          border-color: rgba($primaryColor, 0.8);
        }
      }
    }
  }

  .text_return {
    margin: 0 12px 16px;

    .tip_num {
      color: #007cff;
      font-size: 14px;
      padding: 0 4px;
      font-weight: bold;
    }

    .p {
      margin: 8px 0;
    }

    .red_text {
      max-height: 200px;
      overflow-y: auto;
      color: #f56c6c;
      margin: 8px 0 0;
      display: inline-block;
      padding-right: 10px;
      &::-webkit-scrollbar-track {
        background: transparent; //背景颜色
      }
    }

    .tableError_list {
      margin-top: 12px;
    }

    .export_error {
      display: flex;
      justify-content: end;
      align-items: center;

      .btn-w {
        width: 70px;
      }
    }
  }
}

.files {
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  width: auto;

  .file {
    column-gap: 12px;
    padding: 10px;
    font-size: 14px;
    align-items: center;
    background-color: rgba($color: #000000, $alpha: 0.02);
    border: 1px dotted #e5e5e5;
    display: flex;
    justify-content: flex-start;
    color: #606266;

    .iconfont {
      cursor: pointer;
      color: $deleteColor;
    }
  }
}

.process_bar_container {
  display: flex;
  justify-content: center;
  height: 100%;
  align-items: center;

  :deep(.el-progress-circle) {
    width: 300px !important;
    height: 300px !important;
  }

  :deep(.el-progress__text) {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 12px;

    .percentage {
      font-size: 36px;
    }

    .tip {
      font-size: 14px;
    }
  }
}

.import-success {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 4px;

  .success-statistics {
    flex: 1;
    height: 0;
    display: flex;
    align-items: center;
  }

  .circle-wrapper {
    .circle-bg {
      width: 200px;
      height: 200px;
      background-color: #f5f5f5;
      border-radius: 300px;
      display: flex;
      justify-content: center;
      align-items: center;

      .iconfont {
        color: $secondColor3;
        font-size: 128px;
      }
    }

    .text {
      font-size: 24px;
    }
  }

  .placeholder {
    flex: 1;
    height: 0;
  }
}

.message_list_container {
  max-height: 200px;
  height: 100%;
  margin: 8px 0 0;
  padding-right: 10px;
  //position: relative;
  overflow: auto;

  &::-webkit-scrollbar-track {
    background: transparent; //背景颜色
  }

  .message_list_phantom {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
  }

  .message_list {
    //left: 0;
    //right: 0;
    //top: 0;
    //position: absolute;

    .message_list_item {
      color: #f56c6c;
      width: fit-content;
    }
  }
}

.statistics {
  text-align: center;

  .success_num {
    color: $primaryColor;
  }

  .fail_num {
    color: $deleteColor;
  }
}

.import_fail_data_container {
  display: flex;
  flex-direction: column;
  row-gap: 8px;

  .title-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;

    .text {
      padding-left: 6px;
      border-left: 3px solid $primaryColor;
      font-size: 14px;
      font-weight: bold;
    }
  }
}

.footer_btn_group {
  display: flex;
  justify-content: center;
  column-gap: 10px;
  margin-top: 48px;
}